package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_recall_player", autoSave = true,desc ="绑定回归玩家日志",uploadCk = true )
public class LogRecallUser extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long playerId;
    @FieldTypeAnnotation(desc = "绑定码")
    private String recallCode;
    @FieldTypeAnnotation(desc = "绑定玩家id")
    private long bindPlayerId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;



    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public String getRecallCode() {
        return recallCode;
    }

    public void setRecallCode(String recallCode) {
        this.recallCode = recallCode;
    }

    public long getBindPlayerId() {
        return bindPlayerId;
    }

    public void setBindPlayerId(long bindPlayerId) {
        this.bindPlayerId = bindPlayerId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public LogRecallUser(long playerId, String recallCode, long bindPlayerId, String reward, Date time) {
        this.playerId = playerId;
        this.recallCode = recallCode;
        this.bindPlayerId = bindPlayerId;
        this.reward = reward;
    }

    @Override
    public long getUserId() {
        return playerId;
    }
}
